package com.liner.homework.second.person;


public class PersonTest {
    public static void main(String[] args) {
        Doctor doctor = new Doctor("徐玲玲", 42, "河南","口腔科医生");
        Teacher teacher = new Teacher("王丽丽", 56, "河北", 12000);
        Student student = new Student("洪晶晶", 17, "黑龙江", "高二","121");

        doctor.sayHi();
        doctor.cut();
        teacher.sayHi();
        teacher.teach();
        teacher.eat();
        student.sayHi();
        student.study();
        student.sleep();


    }
}
